<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>usbps: XUsbPs_DeviceConfig Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">usbps
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_x_usb_ps___device_config.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">XUsbPs_DeviceConfig Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="struct_x_usb_ps___device_config.html" title="The XUsbPs_DeviceConfig structure contains the configuration information to configure the USB control...">XUsbPs_DeviceConfig</a> structure contains the configuration information to configure the USB controller for DEVICE mode.  
 <a href="struct_x_usb_ps___device_config.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:aeb059166762916b8b5776f4afba26315"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_ps___device_config.html#aeb059166762916b8b5776f4afba26315">NumEndpoints</a></td></tr>
<tr class="memdesc:aeb059166762916b8b5776f4afba26315"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of Endpoints for the controller.  <a href="#aeb059166762916b8b5776f4afba26315">More...</a><br/></td></tr>
<tr class="separator:aeb059166762916b8b5776f4afba26315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd60a9334300a134f4027be0bef9c6c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_usb_ps___ep_config.html">XUsbPs_EpConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_ps___device_config.html#afd60a9334300a134f4027be0bef9c6c4">EpCfg</a> [<a class="el" href="group__usbps.html#gaa28f8c4ae7ed59f8408db86869b3fd45">XUSBPS_MAX_ENDPOINTS</a>]</td></tr>
<tr class="memdesc:afd60a9334300a134f4027be0bef9c6c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of endpoint configurations.  <a href="#afd60a9334300a134f4027be0bef9c6c4">More...</a><br/></td></tr>
<tr class="separator:afd60a9334300a134f4027be0bef9c6c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a5c8ac8a91e6d08ee7c74e6b1d7ad0e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_ps___device_config.html#a0a5c8ac8a91e6d08ee7c74e6b1d7ad0e">DMAMemPhys</a></td></tr>
<tr class="memdesc:a0a5c8ac8a91e6d08ee7c74e6b1d7ad0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Physical base address of DMAable memory allocated for the driver.  <a href="#a0a5c8ac8a91e6d08ee7c74e6b1d7ad0e">More...</a><br/></td></tr>
<tr class="separator:a0a5c8ac8a91e6d08ee7c74e6b1d7ad0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7776d48757f00ec0c53fb83457a7855d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_usb_ps___endpoint.html">XUsbPs_Endpoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_ps___device_config.html#a7776d48757f00ec0c53fb83457a7855d">Ep</a> [<a class="el" href="group__usbps.html#gaa28f8c4ae7ed59f8408db86869b3fd45">XUSBPS_MAX_ENDPOINTS</a>]</td></tr>
<tr class="memdesc:a7776d48757f00ec0c53fb83457a7855d"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of endpoint metadata structures.  <a href="#a7776d48757f00ec0c53fb83457a7855d">More...</a><br/></td></tr>
<tr class="separator:a7776d48757f00ec0c53fb83457a7855d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6098d846df00c20ac64592a1794400dc"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb_ps___device_config.html#a6098d846df00c20ac64592a1794400dc">PhysAligned</a></td></tr>
<tr class="memdesc:a6098d846df00c20ac64592a1794400dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">64 byte aligned base address of the DMA memory block.  <a href="#a6098d846df00c20ac64592a1794400dc">More...</a><br/></td></tr>
<tr class="separator:a6098d846df00c20ac64592a1794400dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="struct_x_usb_ps___device_config.html" title="The XUsbPs_DeviceConfig structure contains the configuration information to configure the USB control...">XUsbPs_DeviceConfig</a> structure contains the configuration information to configure the USB controller for DEVICE mode. </p>
<p>This data structure is used with the <a class="el" href="group__usbps.html#ga6daace32113a806a6822a6d5943a93f4" title="This function configures the DEVICE side of the controller. ">XUsbPs_ConfigureDevice()</a> function call. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a0a5c8ac8a91e6d08ee7c74e6b1d7ad0e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsbPs_DeviceConfig::DMAMemPhys</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Physical base address of DMAable memory allocated for the driver. </p>

<p>Referenced by <a class="el" href="xusbps__audio__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="group__usbps.html#ga6daace32113a806a6822a6d5943a93f4">XUsbPs_ConfigureDevice()</a>.</p>

</div>
</div>
<a class="anchor" id="a7776d48757f00ec0c53fb83457a7855d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_usb_ps___endpoint.html">XUsbPs_Endpoint</a> XUsbPs_DeviceConfig::Ep[<a class="el" href="group__usbps.html#gaa28f8c4ae7ed59f8408db86869b3fd45">XUSBPS_MAX_ENDPOINTS</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>List of endpoint metadata structures. </p>

<p>Referenced by <a class="el" href="group__usbps.html#gac27a9d64ddf33a2400d7493e301a7192">XUsbPs_EpBufferReceive()</a>, <a class="el" href="group__usbps.html#gadbe72ae98e3bc73150a650f5f8e5c34f">XUsbPs_EpDataBufferReceive()</a>, <a class="el" href="group__usbps.html#ga0532b9ebbcab7bb72ec6bef692e20faf">XUsbPs_EpGetData()</a>, <a class="el" href="group__usbps.html#ga91c44ff9dcae2e47ed8112c8a0779fa1">XUsbPs_EpGetSetupData()</a>, <a class="el" href="group__usbps.html#ga04fb0b564bcd01cdf33e29ca2732656a">XUsbPs_EpSetHandler()</a>, <a class="el" href="group__usbps.html#ga5eb603906d381d4a426a3d24fc2082a0">XUsbPs_EpSetIsoHandler()</a>, and <a class="el" href="group__usbps.html#ga90aab040f015299b2064124bed882896">XUsbPs_ReconfigureEp()</a>.</p>

</div>
</div>
<a class="anchor" id="afd60a9334300a134f4027be0bef9c6c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_usb_ps___ep_config.html">XUsbPs_EpConfig</a> XUsbPs_DeviceConfig::EpCfg[<a class="el" href="group__usbps.html#gaa28f8c4ae7ed59f8408db86869b3fd45">XUSBPS_MAX_ENDPOINTS</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>List of endpoint configurations. </p>

<p>Referenced by <a class="el" href="xusbps__audio__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, <a class="el" href="group__usbps.html#gac27a9d64ddf33a2400d7493e301a7192">XUsbPs_EpBufferReceive()</a>, <a class="el" href="group__usbps.html#ga1e4c0735be24ea24b73404db8d18133e">XUsbPs_EpBufferSendWithZLT()</a>, <a class="el" href="group__usbps.html#ga0532b9ebbcab7bb72ec6bef692e20faf">XUsbPs_EpGetData()</a>, and <a class="el" href="group__usbps.html#ga90aab040f015299b2064124bed882896">XUsbPs_ReconfigureEp()</a>.</p>

</div>
</div>
<a class="anchor" id="aeb059166762916b8b5776f4afba26315"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XUsbPs_DeviceConfig::NumEndpoints</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of Endpoints for the controller. </p>
<p>This number depends on the runtime configuration of driver. The driver may configure fewer endpoints than are available in the core. </p>

<p>Referenced by <a class="el" href="xusbps__audio__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, <a class="el" href="group__usbps.html#gac27a9d64ddf33a2400d7493e301a7192">XUsbPs_EpBufferReceive()</a>, <a class="el" href="group__usbps.html#ga6bfe53ec45a998d5673b80e11ab4d292">XUsbPs_EpBufferSend()</a>, <a class="el" href="group__usbps.html#ga1e4c0735be24ea24b73404db8d18133e">XUsbPs_EpBufferSendWithZLT()</a>, <a class="el" href="group__usbps.html#gadbe72ae98e3bc73150a650f5f8e5c34f">XUsbPs_EpDataBufferReceive()</a>, <a class="el" href="group__usbps.html#ga91c44ff9dcae2e47ed8112c8a0779fa1">XUsbPs_EpGetSetupData()</a>, <a class="el" href="group__usbps.html#gaba0ae2eac9c6b402e32e401333a5b105">XUsbPs_EpPrime()</a>, <a class="el" href="group__usbps.html#ga04fb0b564bcd01cdf33e29ca2732656a">XUsbPs_EpSetHandler()</a>, and <a class="el" href="group__usbps.html#ga5eb603906d381d4a426a3d24fc2082a0">XUsbPs_EpSetIsoHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a6098d846df00c20ac64592a1794400dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsbPs_DeviceConfig::PhysAligned</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>64 byte aligned base address of the DMA memory block. </p>
<p>Will be computed and set by the L0/L1 driver. </p>

<p>Referenced by <a class="el" href="group__usbps.html#ga6daace32113a806a6822a6d5943a93f4">XUsbPs_ConfigureDevice()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
